package io.renren.modules.wyzs.mobile_BillAdapterMoudle;

import java.util.HashMap;

import io.renren.modules.wyzs.mobile_EnumMoudle.EnumDataExecType;

public class OwnRow {
    public int ID;
    public int getIndex()
    {

            return _index;
    }
    
    public void setIndex(int value){
        _index = value;
        if (!_idxInit)
        {
            _idxInit = true;
            _oldIndex = value;
        }
        else if (_oldIndex != _index)
        {
            if (DataExecType == EnumDataExecType.None)
            {
                DataExecType = EnumDataExecType.Update;
            }
        }
    }
     
    public EnumDataExecType DataExecType = EnumDataExecType.None;
    public HashMap<String, OwnField> Fields = new HashMap<String, OwnField>();

    private Boolean _idxInit = false;
    private int _index;
    private int _oldIndex;
}
